package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.CtByLocalMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.CtByLocal;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.CtByLocalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CtByLocalServiceImpl implements CtByLocalService {
    @Autowired
    private CtByLocalMapper ctByLocalMapper;

    @Override
    public List<CtByLocal> selectAll() {
        return ctByLocalMapper.selectAll();
    }

    @Override
    public int insert(CtByLocal ctByLocal) {
        return ctByLocalMapper.insert(ctByLocal);
    }
}
